﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Test.SysConsole.设计模式.FactoryMethod
{
    public class RiceFactory : FoodFactory
    {
        protected override IFactoryMethod GetFood()
        {
            return new Rice();
        }
    }
}
